{include file="common/header" /}

	<!-- 面包屑 开始 -->
	<section class="crumbs">
		<div class="container">
    		<div class="row">
    			<div class="crumbs-box">
    				<a href="/frontend/index/index" class="crumbs-box-a">首页</a>&nbsp;
    				<span> > </span>&nbsp;
    				<span>案例列表</span>
    			</div>
    		</div>
    	</div>
	</section>
	<!-- 面包屑 结束 -->

    <!-- 案例精选 开始 -->
    <section class="case-choice">
        <div class="container">
            <div class="row">
                <div class="case-choice-box">
                    <form class="filter" method="get">
                        <dl>
                            <dt>
                                <span class="filter_tit">案例筛选</span>
                                <div class="search-case">
                                    <div class="searchform cf">
                                        <input type="text" name="title" placeholder="请输入关键词">
                                        <button type="submit">搜索</button>
                                    </div>
                                </div>
                            </dt>
                            <dd>
                                <span style="float: left;">
                                    时 间&nbsp;&nbsp;&nbsp;｜&nbsp;&nbsp;&nbsp;&nbsp;
                                    {foreach $dates as $v }
                                    <a href="/frontend/cases/index?date={$v['date']}">{$v['date']}年</a>
                                    {/foreach}
                                </span>
                            </dd>
                            <dd>
                                <span style="float: left;">
                                    环 境&nbsp;&nbsp;&nbsp;｜&nbsp;&nbsp;&nbsp;&nbsp;
                                    {foreach $environments as $v }
                                    <a href="/frontend/cases/index?environment={$v['environment']}">{$v['environment']}</a>
                                    {/foreach}
                                </span>
                            </dd>
                            <dd>
                                <span style="float: left;">
                                    行 业&nbsp;&nbsp;&nbsp;｜&nbsp;&nbsp;&nbsp;&nbsp;
                                    {foreach $industries as $v }
                                    <a href="/frontend/cases/index?industry={$v['industry']}">{$v['industry']}</a>
                                    {/foreach}
                                </span>
                            </dd>
                            <dd>
                                <span style="float: left;">
                                    品 种&nbsp;&nbsp;&nbsp;｜&nbsp;&nbsp;&nbsp;&nbsp;
                                    {foreach $varieties as $v }
                                    <a href="/frontend/cases/index?variety={$v['variety']}">{$v['variety']}</a>
                                    {/foreach}
                                </span>
                            </dd>
                            <div class="clear"></div>
                        </dl>
                        <div class="clear"></div>
                    </form>
                </div>
                <div class="thumbnail-box">
                    <ul class="th-list">
                        <?php $list = $cases->toArray();?>
                        {foreach $list['data'] as $key=>$vo }
                        <li class="col-lg-4 .col-md-6 .col-sm-12 col-xs-12">
                            <img src="{$vo.imagies}" class="img-thumbnail" width="100%">
                            <a href="/frontend/cases/details?id={$vo.id}" title="南极中山站" class="thumbnail-box-title">{$vo.title}</a>
                            <p>
                                <?php echo slice_img($vo['content']); ?>
                            </p>
                            <div class="label-box">
                                <span>{$vo.date}</span>
                                <span>{$vo.industry}</span>
                                <span>{$vo.industry}</span>
                                <span>{$vo.variety}</span>
                            </div>
                        </li>
                        {/foreach}
                        <div class="clear"></div>
                    </ul>
                    <ul class="pager">
                        {if condition="$list['current_page'] != 1"}
                        <li class="previous"><a href="/frontend/cases/index?page={$list.current_page-1}">&larr; 上一页</a></li>
                        {/if}
                        {if condition="$list['last_page'] > $list['current_page']"/}
                        <li class="next"><a href="/frontend/cases/index?page={$list.current_page+1}">下一页 &rarr;</a></li>
                        {/if}
                    </ul>
                </div>
            </div>
        </div>
    </section>
    <!-- 案例精选 结束 -->

{include file="common/footer" /}